package com.code.day16;

import java.util.function.Function;

public class FunctionLambda {
    public static void main(String[] args) {

    method(integer -> integer+"",100);
    }
    public  static  void method(Function<Integer,String> function,Integer integer){
        String s = function.apply( integer);
        System.out.println(s+1);
    }
}
